package com.threecoder.ums.view.event
{
	import flash.events.Event;
	
	public class AppEvent extends Event
	{
		public var data:Object;		// optional data object
		public var related:Object;  // optional related data object
		
		private static const EXIT:String 			= "exit";
		private static const APP:String				= "App";
		
		public static const EXIT_APP:String 		= EXIT + APP;
		
		public function AppEvent( type:String, data:Object=null, related:Object=null )
		{
			super(type, true, true);
			this.data = data;
			this.related = related;
		}
	}
}